import request from '@/utils/request'

export function applyToServer(data) {
  return request({
    url: '/project/assign',
    method: 'post',
    data:data
  })
}

export function getTempListFromServer(data) {
  return request({
    url: '/project/assign',
    method: 'get',
    params:data
  })
}

export function updateToServer(data) {
  return request({
    url: '/project/update',
    method: 'put',
    data: data
  })
}


export function applyClosingToServer(data) {
  return request({
    url: '/director/apply',
    method: 'post',
    data: data
  })
}